﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Traceability.Myproject.Domain
{
    /// <summary>
    /// 养殖信息111111111
    /// </summary>
    public class AquacultureInformation
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string? source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public string? Number { get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string? brand { get; set; }
        /// <summary>
        /// 保健方式
        /// </summary>
        public string? HealthCareMethodType { get; set; }

        /// <summary>
        /// 保健方法
        /// </summary>
        public string? HealthCareMethod { get; set; }

        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string? FeedingPersonInCharge { get; set; }

        /// <summary>
        /// 出栏日期
        /// </summary>
        [DataType(DataType.Date)]
        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
        public DateTime SlaughterDate { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        public string Farm { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string PersonInCharge { get; set; }
    }
}